import type RiderSettings from '../entity/RiderSettings'

export class RiderBasicInfo {
  id: number

  stationmasterId?: number

  phoneAreaCode: string

  phoneNumber: string

  fullName: string

  state: number

  workStatus: number
}

export class SystemSettings {
  /**
   * 接单超时时间
   */
  ORDER_ACCEPTANCE_TIMEOUT: number

  /**
   * 到店取餐间隔时间（需要等待时间）
   */
  TO_SHOP_PICKING_INTERVAL: number
}

export class CommonInfos {
  info: RiderBasicInfo
  riderSettings: RiderSettings
  systemSettings: SystemSettings
}
